﻿using Hotel_Project.Bean;
using Hotel_Project.BIZ;
using Hotel_Project.Properties;
using Hotel_Project.Tools.BrushMenuStrip;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Hotel_Project
{
    public partial class Form1 : Form
    {
        public static Form1 form1=null;
        public Form1()
        {
            InitializeComponent();
            form1 = this;
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            //Hotel_Project.HotelForm.TimeGuestinfoForm
            Type type = Assembly.Load("Hotel_Project").GetType("Hotel_Project.HotelForm.Night_ShenForm");
            //加载菜单栏
            AddMenuStrip am = new AddMenuStrip();
            am.AddListMenuStrip(menuStrip,homeTableControl);
            //加载工具栏
            AddToolStrip at=new AddToolStrip();
            at.addToolStrip(homeToolStrip);
        }

        private void menuStrip_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
        {

        }

        private void homeTableControl_SelectedIndexChanged(object sender, EventArgs e)
        {

        }
    }
}
